import {Module} from '@nestjs/common';
import {UsersController} from './controller/users/users.controller';
import {TypeOrmModule} from "@nestjs/typeorm";
import {Users} from "../../entity/users.entity";
import {UsersService} from "../../service/users/users.service";
import {ToolsService} from "../../service/tools/tools.service";
import { AuthController } from './controller/auth/auth.controller';
import { DashboardController } from './controller/dashboard/dashboard.controller';

@Module({
    imports: [
        TypeOrmModule.forFeature([Users]),
    ],
    controllers: [ UsersController, AuthController, DashboardController ],
    providers: [UsersService, ToolsService]
})
export class AdminModule {
}
